//
//  DepartmentList.m
//  Login
//
//  Created by mac on 17/3/6.
//  Copyright © 2017年 ZF. All rights reserved.
//

#import "DepartmentList.h"

@implementation DepartmentList
- (Class)getSubDataClassInArrayForKey:(NSString *)key
{
    return [DepartmentListItem class];
}
@end

@implementation DepartmentListItem

- (void)setValue:(id)value forKey:(NSString *)key
{
    if([key isEqualToString:@"id"])
    {
        [super setValue:value forKey:@"Id"];
    }else {
        [super setValue:value forKey:key];
    }
}
@end
